package com.klasster.recruitmentPlatform.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "permission")
public class Permission {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String role;

    private String name;

    private String code;

    private String type;

    private String parent_code;

    private String path;

    private String redirect;

    private String icon;

    private String component;

    private String layout;

    private Boolean keepAlive;

    private String method;

    private String description;

    @TableField("`show`")
    private Boolean show;

    private Boolean enable;

    @TableField("`order`")
    private Integer order;

}